package EjemplosClasesComunes;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class EntradaSalida2 {
	public static void main(String[] args){
		try {
			System.out.println("Hola, introduzca una cadena: ");
			InputStreamReader isr = new InputStreamReader(System.in);
			BufferedReader bf = new BufferedReader (isr);
			String lineaTeclado = bf.readLine();
			System.out.println(lineaTeclado);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
